package cn.gene.timeyan.article.service;

import cn.gene.timeyan.pojo.article.dto.CommentDTO;
import cn.gene.timeyan.pojo.article.model.Comment;
import cn.gene.timeyan.pojo.article.vo.CommentVO;
import com.baomidou.mybatisplus.extension.service.IService;

import java.util.List;

/**
 * <p>
 * 鏂囩珷璇勮?淇℃伅 服务类
 * </p>
 *
 * @author LWG
 * @since 2022-07-25
 */
public interface CommentService extends IService<Comment> {

    List<CommentVO> listByArticleId(Long article_id,String model,Integer page,Integer pageSize);

    void addNew(CommentDTO commentDTO);

    void display(String id);

    void hide(String id);
}
